package com.clwl.supervise.superviseapp.entity.risk;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 风险类型
    */
@Data
@TableName(value = "JG_RISK_TYPE")
public class JgRiskType implements Serializable {


    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField(value = "PARENT_ID")
    private Long parentId;

    /**
     * 风险类型名称
     */
    @TableField(value = "TYPE_NAME")
    private String typeName;

    /**
     * 0-未删除；1-已删除
     */
    @TableField(value = "DELETE_FLAG")
    private String deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}
